import type { VxeGridProps } from '#/adapter/vxe-table'
import { CurrentCountryLanguageOptions } from '#/config/options/locales'
import { $t } from '@vben/locales'

// 列表表头
export const columns: VxeGridProps['columns'] = [
    {
        field: 'code',
        title: $t('page.system.children.dictionarySub.children.form.language'),
        cellRender: { name: 'OptionsText', props: { options: CurrentCountryLanguageOptions } }
    },
    { field: 'name', title: $t('page.system.children.dictionarySub.children.form.name') },
    { field: 'note', title: $t('common.remark') },
    {
        field: 'action',
        title: $t('common.action'),
        slots: { default: 'action' },
        width: 120,
        fixed: 'right'
    }
]

export const formSchema = []
